package com.swxy.dao;

import com.swxy.pojo.User;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface UserDao {
    List<User> login(@Param("phone") String phone,@Param("password")  String password);

    List<User> getUserByUserName(User user);

    int addUser(User user);

    User checkReg(String userName);

    int insert(User sysUser);

    User selectById(int id);


}
